﻿@model IEnumerable<Product>

@{
    ViewBag.Title = "Product List Report";
}


    @foreach (var item in Model)
    {
    <ul data-role="listview" data-inset="true">
        <li data-role="list-divider">@item.productName</li>
       
        <li>
            Selling Price: @Html.DisplayFor(modelItem => item.sellingPrice)
        </li>
        <li>
            Purchase Price: @Html.DisplayFor(modelItem => item.purchasePrice)

        </li>
        <li>
            Quantity On Hand: @Html.DisplayFor(modelItem => item.quantityOnHand)

        </li>
    </ul>
    }

@*<div data-role ="listview" data-filter="true">
@foreach (var item in Model) {
    
       <div>
              <h4>@item.productName</h4>
        </div>
        <div>
             Selling Price: @Html.DisplayFor(modelItem => item.sellingPrice)
        </div>
        <div>
            Purchase Price: @Html.DisplayFor(modelItem => item.purchasePrice)
            
        </div>
         <div>
            Quantity On Hand: @Html.DisplayFor(modelItem => item.quantityOnHand)
            
        </div>

        <hr />
}

    </div>*@